package com.cc.mapper;

import com.cc.entity.EbProductClass;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProduClassMapper {

    int save(EbProductClass ebProductClass);

    List<EbProductClass> findByPage(@Param("from") Integer from, @Param("pageSize") Integer pageSize);

    int total();

    EbProductClass selectByCondition(int epid);
    int updateByPrimaryKey(EbProductClass ebProduct);

    List<EbProductClass> selectAll();

    int delete(int id);

    EbProductClass selects();
    int update(EbProductClass ebProductClass);

}
